package br.com.sovi.gwt.server.service;

public class CurrentToken {
	
	public static final String TOKEN = "sovi-token"; 
	
	private static ThreadLocal<String> threadLocal = new ThreadLocal<String>();

	public static void setCurrent(String token) {
		threadLocal.set(token);
	}

	public static String getCurrent() {
		return (String) threadLocal.get();
	}

}
